package boss.portal.entity.pro;

import boss.portal.entity.Common;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.annotations.Type;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.math.BigDecimal;

@Entity
@Table(name = "public_collect_detail")
@Data
@ApiModel(value = "PublicCollectDetail",description = "产品详情")
public class PublicCollectDetail extends Common {

    @ApiModelProperty("价格")
    private BigDecimal price;

    @ApiModelProperty("库存")
    private String stock;

    @ApiModelProperty("标题")
    private String title;

    @Column(name = "source_attrs")
    @ApiModelProperty("产品属性")
    @Type(type = "text")
    private String sourceAttrs;

    @Column(name="notes")
    @ApiModelProperty("详细描述")
    @Type(type = "text")
    private String notes;

    @Column(name = "notes_text")
    @ApiModelProperty("详细描述文本")
    @Type(type = "text")
    private String notesText;

    @Column(name = "sku")
    @ApiModelProperty("产品标题信息")
    @Type(type = "text")
    private String sku;

    @Column(name="color_map")
    @ApiModelProperty("SKU信息-颜色")
    @Type(type = "text")
    private String colorMap;

    @Column(name="size_map")
    @ApiModelProperty("SKU信息-尺寸")
    @Type(type = "text")
    private String sizeMap;

    @Column(name="sku_map")
    @ApiModelProperty("sku信息")
    @Type(type = "text")
    private String skuMap;

    @Column(name="weight")
    @ApiModelProperty("包裹重量")
    private String weight;

    @Column(name="package_length")
    @ApiModelProperty("包裹长度")
    private String packageLength;

    @Column(name="package_width")
    @ApiModelProperty("包裹宽")
    private String packageWidth;

    @Column(name="package_height")
    @ApiModelProperty("包裹高度")
    private String packageHeight;

    @Column(name="source_item_url")
    @ApiModelProperty("来源链接")
    private String sourceItemUrl;



}
